<?php
if (!is_admin()) add_action( 'wp_print_scripts', 'woothemes_add_javascript' );
function woothemes_add_javascript( ) {    
    if (is_front_page() || is_home()) {
		wp_enqueue_script( 'slides', get_template_directory_uri().'/includes/js/slides.min.jquery.js', array( 'jquery' ) );
    }
    wp_enqueue_script( 'scripts', get_bloginfo('template_directory').'/includes/js/scripts.js', array( 'jquery' ) );
    wp_enqueue_script( 'superfish', get_bloginfo('template_directory').'/includes/js/superfish.js', array( 'jquery' ) );
}
?>